Installation ~ Templates ~ Categorys and Advertising


Config.inc.php Configuration

  1. SQL table names can be edited in the config.inc.php file if you already have table names existing with the same name as linx.
  2. $links_are_new_for ~ You change this to reflect the number of days that links are classed as NEW.
  3. $config_title ~ The title of your links site, used in subject headers in admin emails to and from your site.
  4. $admin_out_email ~ The email address that emails will appear to come from when sent from your links site.
  5. $admin_in_email ~ The email address that emails will be sent to when a new site is submitted to your links site.
  6. $display_banner_rows ~ Set this to the number of sites you would like to appear in category's pages before a banner is inserted.
  7. $display_banners_for_links ~ Set to true or false to accept/display banners for links on your site.
  8. $home_page_category_build ~ The style of category links building for the home.html page set to either 1 or 2, style 1 lists category's in rows. Style 2 displays category's in columns, the number of columns can be set below.
  9. $category_columns ~ The number of columns to display if $home_page_category_build is set to 2.
  10. $searchable_fields ~ An array of the searchable fields that search.php will look in when a surfer searches on your site. These values should match exactly the names of the fields in your $linx_table table.
  11. $no_search_results ~ How many results to display at one time in search.php
  12. $validate_deal_with_banned ~ This defines how to deal with banned domains when they are submitted to your site. Set to 0 to do nothing and let all submits come through, 1 to act as normal but delete them before you get to see them and 2 to show them a banned URL.
  13. $validate_redirect_banned_url ~ If $validate_deal_with_banned is set to 2, this is the URL naughty submitters will be redirected to.
  14. $validate_email_match_fail ~ Set this to true or false to check for email addresses matching a banned domain in the validate engine.
  15. $validate_number_of_links ~ Number of links to validate at one time.
  16. $validate_default_popularity ~ The default popularity that is assigned to sites at validation time.
  17. $validate_send_emails ~ Decide what emails to send when a link is validated. 0 will send no emails, 1 will send accept emails only and 2 will send both accept/reject emails.
  18. $refferer_checking ~ Set to either 0 or 1 to check for http_refferer on add.php page, 1 will check for it.
  19. $our_sites_link ~ The domain to look for in http_refferer strings, in the format 'youd-domain.com'
  20. $refferer_checking_url ~ Surfers that fail the http_refferer checking will be sent to this URL.